package com.ox.head.okex.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author even
 * @date 2021/5/14 0014 上午 11:53
 * @describe ok配置文件
 */
@Data
@ConfigurationProperties(prefix=OkProperties.PREFIX )
public class OkProperties {
    /**
     *ok配置前缀名
     *
     */
    public static final String PREFIX="ok.api";
    /**
     * 是否可用
     */
    private boolean enable;
    /**
     * accessKeyId
     */
    private String accessKeyId;
    /**
     * accessSecret
     */
    private String accessSecret;

    /**
     * OK-ACCESS-PASSPHRASE
     */
    private String passphrase;
    /**
     * 路径
     */
    private String url;

}
